import { createRouter, createWebHashHistory } from "vue-router";
import ChildComponent1 from "./ChildComponent1.vue";
import ChildComponent2 from "./ChildComponent2.vue";

const routes = [
  { path: "/one", component: ChildComponent1 },
  { path: "/two", component: ChildComponent2 },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
